package yuandaima;
class Dog extends Animal {
 public Dog(String name) {
     super(name);
 }
 public void cry() {
     System.out.println("汪汪"); 
 }
 public String getAnimalName() {
     return "Dog";
 }
}